package com.quique.pfc.dtos;

import java.util.Collection;

/**
 * Objeto de transferencia de datos que contiene la informacion
 * detallada de un curso
 */
public class DetalleCursoDto 
{
	//json que devuelve moodle
	/*
	[
	//Esto es una seccion..
	{
		"id":3,
		"name":"Foro",
		"visible":1,"summary":"",
		"modules":
		[
			{
				"id":2,
				"url":"http:\/\/pfc.milaulas.com\/mod\/forum\/view.php?id=2",
				"name":"Novedades",
				"visible":1,
				"modicon":"http:\/\/pfc.milaulas.com\/theme\/image.php?theme=anomaly&image=icon&rev=699&component=forum",
				"modname":"forum",
				"modplural":"Foros",
				"availablefrom":0,
				"availableuntil":0,
				"indent":0
			}
		]
		},
		{"id":5,"name":"Temario","visible":1,"summary":"<p>Temario del curso<\/p>","modules":[{"id":3,"url":"http:\/\/pfc.milaulas.com\/mod\/resource\/view.php?id=3","name":"Tema 1","visible":1,"modicon":"http:\/\/pfc.milaulas.com\/theme\/image.php?theme=anomaly&image=f%2Fword&rev=699","modname":"resource","modplural":"Archivos","availablefrom":0,"availableuntil":0,"indent":0,"contents":[{"type":"file","filename":"Manual.doc","filepath":"\/","filesize":1050624,"fileurl":"http:\/\/pfc.milaulas.com\/webservice\/pluginfile.php\/30\/mod_resource\/content\/1\/Manual.doc?forcedownload=1","timecreated":1332323145,"timemodified":1332323145,"sortorder":1,"userid":3,"author":"Profesor1 Profesor1","license":"allrightsreserved"}]},{"id":5,"url":"http:\/\/pfc.milaulas.com\/mod\/forum\/view.php?id=5","name":"Foro Tema 1","visible":1,"modicon":"http:\/\/pfc.milaulas.com\/theme\/image.php?theme=anomaly&image=icon&rev=699&component=forum","modname":"forum","modplural":"Foros","availablefrom":0,"availableuntil":0,"indent":0},{"id":8,"url":"http:\/\/pfc.milaulas.com\/mod\/resource\/view.php?id=8","name":"pdf","visible":1,"modicon":"http:\/\/pfc.milaulas.com\/theme\/image.php?theme=anomaly&image=f%2Fpdf&rev=699","modname":"resource","modplural":"Archivos","availablefrom":0,"availableuntil":0,"indent":0,"contents":[{"type":"file","filename":"AH020032012175 (1).pdf","filepath":"\/","filesize":3171,"fileurl":"http:\/\/pfc.milaulas.com\/webservice\/pluginfile.php\/37\/mod_resource\/content\/1\/AH020032012175%20%281%29.pdf?forcedownload=1","timecreated":1332858746,"timemodified":1332858746,"sortorder":1,"userid":3,"author":"Profesor1 Profesor1","license":"allrightsreserved"}]},{"id":9,"url":"http:\/\/pfc.milaulas.com\/mod\/url\/view.php?id=9","name":"http:\/\/www.as.com","visible":1,"modicon":"http:\/\/pfc.milaulas.com\/theme\/image.php?theme=anomaly&image=f%2Fweb&rev=699","modname":"url","modplural":"URLs","availablefrom":0,"availableuntil":0,"indent":0,"contents":[{"type":"url","filename":null,"filepath":null,"filesize":0,"fileurl":"http:\/\/www.as.com","timecreated":null,"timemodified":null,"sortorder":null,"userid":null,"author":null,"license":null}]},{"id":10,"url":"http:\/\/pfc.milaulas.com\/mod\/folder\/view.php?id=10","name":"Carpeta1","visible":1,"modicon":"http:\/\/pfc.milaulas.com\/theme\/image.php?theme=anomaly&image=icon&rev=699&component=folder","modname":"folder","modplural":"Carpetas","availablefrom":0,"availableuntil":0,"indent":0,"contents":[{"type":"file","filename":"iphone_upload-image-20120322-133105.jpg","filepath":"\/","filesize":1312796,"fileurl":"http:\/\/pfc.milaulas.com\/webservice\/pluginfile.php\/39\/mod_folder\/content\/1\/iphone_upload-image-20120322-133105.jpg?forcedownload=1","timecreated":1332859009,"timemodified":1332859009,"sortorder":0,"userid":3,"author":"Profesor1 Profesor1","license":"allrightsreserved"}]},{"id":11,"url":"http:\/\/pfc.milaulas.com\/mod\/attforblock\/view.php?id=11","name":"Asistencia11","visible":1,"modicon":"http:\/\/pfc.milaulas.com\/theme\/image.php?theme=anomaly&image=icon&rev=699&component=attforblock","modname":"attforblock","modplural":"Asistencias","availablefrom":0,"availableuntil":0,"indent":0}]},{"id":6,"name":"Tests","visible":1,"summary":"<p>Tests para comprobar tus conocimientos<\/p>","modules":[{"id":4,"url":"http:\/\/pfc.milaulas.com\/mod\/quiz\/view.php?id=4","name":"Cuestionario Tema 1","description":"<div class=\"no-overflow\"><p>Preguntas sobre la unidad did\u00e1ctica<\/p><\/div>","visible":1,"modicon":"http:\/\/pfc.milaulas.com\/theme\/image.php?theme=anomaly&image=icon&rev=699&component=quiz","modname":"quiz","modplural":"Cuestionarios","availablefrom":0,"availableuntil":0,"indent":0}]},{"id":4,"name":" 4 de abril -  10 de abril","visible":0,"summary":"","modules":[]},{"id":7,"name":" 11 de abril -  17 de abril","visible":0,"summary":"","modules":[]},{"id":8,"name":" 18 de abril -  24 de abril","visible":0,"summary":"","modules":[]},{"id":9,"name":" 25 de abril -  1 de mayo","visible":0,"summary":"","modules":[]},{"id":10,"name":" 2 de mayo -  8 de mayo","visible":0,"summary":"","modules":[]},{"id":11,"name":" 9 de mayo -  15 de mayo","visible":0,"summary":"","modules":[]},{"id":12,"name":" 16 de mayo -  22 de mayo","visible":0,"summary":"","modules":[]},{"id":13,"name":" 23 de mayo -  29 de mayo","visible":0,"summary":"","modules":[]}]
	*/
	/** Un curso en moodle esta compuesto por un conjunto de secciones. Estas secciones a su vez estan divididas en modulos y un modulo, junto a otras propiedades,
	 * es un conjunto de contenidos.*/
	public Collection<SeccionDto> secciones;
}
